﻿/* 设置热门模块的顶部样式 */
.hot-top {
    width: 100%;
    height: 56px;
    line-height: 56px;
    box-sizing: border-box;
    background-color: none;
}
/* 热门模块-顶部-左边样式 */
.hot-top-left {
    float: left;
    width: 200px;
    height: 100%; /* 与图标高度相等 */
}
    /* 热门模块-顶部-左边-的i标签样式 */
    .hot-top-left i {
        display: inline-block;
        vertical-align: middle;
        width: 19px;
        height: 20px;
        background: url('./image/hot/top/hot.png');
        /* margin: auto 0; */
        line-height: 56px;
        margin-right: 6px;
        margin-bottom: 8px;
    }
    /* 热门模块-顶部-左边-span标签样式 */
    .hot-top-left span {
        font-size: 20px;
        font-weight: 600;
        margin-left: 5px;
        color: #333;
    }
/* 热门模块-顶部-右边 */
.hot-top-right {
    width: 41%;
    height: 56px;
    line-height: 56px;
    box-sizing: border-box;
    padding: 0 15px;
    float: right;
}
/* 热门模块-顶部-右边-ul样式 */
.hot-top-right-ul {
    font-size: 0;
    float: left;
}
/* 热门模块-顶部-右边ul中的li样式 */
.hot-top-right ul li {
    list-style: none;
    display: inline-block;
    font-size: 16px;
}
    /* 热门模块-顶部-右边-ul li中的a样式 */
    .hot-top-right ul li a {
        color: #666;
    }
/*  热门模块-顶部-右边-ul li中的em标签样式*/
.hot-top-right ul em {
    font-size: 12px;
    margin: 0 15px;
    color: #999;
}
/* 热门模块-顶部-右边-更多的 样式 */
.hot-top-right-more {
    float: right;
}
    /* 热门模块-顶部-右边-更多子的字体 样式 */
    .hot-top-right-more a {
        font-size: 14px;
        color: #999;
        margin-left: 20px;
    }


/* 类别模块 */
.general-card {
    /* margin-right: 24px; */
    background-color: #fff;
    /* padding: 24px; */
    padding-top: 16px;
    /* overflow: hidden; */
    /* float: left; */
    width: 100%;
    height: auto;
    margin-top:10px;
    /* padding-left: 10px; */
    box-shadow: #dee 0px 0px 2px;
}
.general-card:first-child {
    margin-top: 0px;
}
/* 类别模块的标题部分 */
.general-card-title {
    /* overflow: hidden; */
    margin-bottom: 24px;
    padding: 10px;
}

.general-card-title-category {
    float: left;
}

    .general-card-title-category h3 {
        font-size: 18px;
        line-height: 18px;
    }

.general-card-title-more {
    float: right;
    font-size: 14px;
    position: relative;
    width: 70px;
    height: 18px;
    line-height: 18px;
    cursor: pointer;
    color: #999;
}

.general-card-title-menu {
    height: 18px;
    white-space: nowrap;/*文本强制不换行； */
    text-overflow:ellipsis;/*文本溢出显示省略号；*/
    overflow: hidden;  /* 溢出的部分隐藏；*/
}

    .general-card-title-menu li {
        list-style: none;
        /* overflow: hidden; */
    }

.general-card-title-menu-item {
    float: left;
    margin:0 24px;
}

.general-card-title-menu-name {
    font-size: 14px;
    line-height: 18px;
    color: #666;
    cursor: pointer;
}

.general-card-contentlist {
    display: flex; /* 使用 Flex 布局 */
    flex-wrap: wrap; /* 允许内容换行 */
    padding: 10px;
    padding-top: 0px;
    padding-left: 20px;
}

/* .general-card-content{
    overflow: hidden;
    flex: 1; 
    width: calc(100%);
} */

.general-card-content {
    flex: 0 0 calc(20% - 10px); /* 每行最多显示 5 个，20% 是每个项目的宽度，10px 是项目之间的间距 */
    padding-right: 10px; /* 项目之间的间距 */
    padding-bottom: 10px; /* 行与行之间的间距 */
}

    /* 最后一项不设置右边距 */
    .general-card-content:last-child {
        padding-right: 0;
    }


.general-card-content-item {
    height: auto;
}

    .general-card-content-item a {
        display: inline-block;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        cursor: pointer;
        width: 100%;
        height: auto;
        border-radius: 4px;
    }

.general-card-content-item-img {
    background-color: rgb(238, 238, 238);
    border-radius: 4px;
    width: 100%;
    height: 150px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 16px;
}

.general-card-content-item-span {
    padding: 0px;
    overflow: hidden;
}

.general-card-content-item-span-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.general-card-content-item-span-num {
    color: #f95216;
    float: left;
    line-height: 20px;
    margin-top: 12px;
    font-size: 16px;
}

/* 展开更多的按钮配置 */
.general-button-more {
    width: 200px;
    height: 40px;
    margin-bottom: 20px;
    /* background-color: #fff; */
    border-radius: 20px;
    border: 1px solid #467fff;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

    .general-button-more span {
        display: inline-block;
        color: #467fff;
        font-size: 15px;
        line-height: 40px;
    }

    .general-button-more i {
        position: relative;
        display: inline-block;
        width: 16px;
        height: 16px;
        top: 3px;
        left: 15px;
        background: url('./image/category/down.png'); /* 修正语法错误 */
    }
